package cn.itcast.java.api;

import java.util.Date;

/**
 * Author itcast
 * Date 2021/10/10 9:16
 * Desc TODO
 */
public class DateDemo1 {
    public static void main(String[] args) {
        //当前系统时间的时间戳
        Date date = new Date();
        long time = date.getTime();
        System.out.println(time);
    }
}
